<template>
  <el-container>
    <!-- 顶部导航栏 -->
    <el-header>
      <HeaderAdmin></HeaderAdmin>
    </el-header>
    <!-- 页面主体 -->
    <el-main>
        <!-- 路由占位符 -->
      <router-view></router-view>
    </el-main>
  </el-container>
</template>

<script>
import HeaderAdmin from './HeaderAdmin.vue'

export default {
  data () {
    return {
      userId: this.$route.params.id,
      searchInput: '',
      select: '1'
    }
  },
  mounted () {
    this.userId = this.$route.params.id
  },
  components: {
    HeaderAdmin // Login: Login
  }
}
</script>

<style lang="less" scoped>
.el-container{
    height: 100%;
}

.el-main{
  // border-bottom: 1px solid #808080;
  background-color: #f7f8fa;
}

</style>
